<?php
/**
 * Created by PhpStorm.
 * User: 清行
 * Date: 2019/3/18
 * Time: 23:27
 */

namespace App\Controller;
use Illuminate\Database\Capsule\Manager as DB;
use \xiaokang\Model;

class Index extends \xiaokang\View
{
    public function index()
    {
        $aa = 'aaa';

//        new Model();

        dump(DB::table('jmeter')->where('id', '=', 100)->get());
        dump(DB::table('jmeter')->paginate(15));

        $this->assign('title', '标题');
        $this->display('home/index.html');
    }
}